//
//  LXSearchViewController.h
//  INMOTION_CUSTOM
//
//  Created by wucw on 2022/4/29.
//  Copyright © 2022 cjg. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "KSBLEManager.h"

NS_ASSUME_NONNULL_BEGIN

@interface LXSearchViewController : UIViewController

typedef void (^LXSearchBlock) (CBPeripheral* peripheral);

/// 扫描设备回调
@property (nonatomic, strong) LXSearchBlock searchBlock;

/// 当前连接的设备
@property (nonatomic, strong) CBPeripheral* __nullable peripheral;

/// 连接状态
@property (nonatomic, assign) KSBLEManagerState bleManagerState;

- (void)setBLEManagerStat:(KSBLEManagerState)state;

@end

NS_ASSUME_NONNULL_END
